package com.woniu.new_orange.finance_model_guo.service.impl;

import com.woniu.new_orange.entity.RefundRecord;
import com.woniu.new_orange.finance_model_guo.Vo.RefundRecordVo;
import com.woniu.new_orange.finance_model_guo.service.RefundRecordService;
import com.woniu.new_orange.mapper.RefundRecordMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Program: new_orange->RefundRecordServiceImpl
 * @Description:
 * @Author: 谭少琛的爸爸
 * @Date: 2023-02-01 19:41
 * @Version： 1.0
 **/
@Service
public class RefundRecordServiceImpl implements RefundRecordService {
    @Resource
    private RefundRecordMapper recordMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(RefundRecord record) {
        return 0;
    }

    @Override
    public int insertSelective1(BigDecimal rvo) {
        return recordMapper.insertSelective1(rvo);
    }

    @Override
    public int insertSelective(RefundRecord record) {
        return recordMapper.insertSelective(record);
    }

    @Override
    public RefundRecord selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(RefundRecord record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(RefundRecord record) {
        return 0;
    }

    @Override
    public List<RefundRecordVo> selectAll() {


        return recordMapper.selectAll();
    }
}
